﻿@model ExcellOnServices.Models.Accounts_Company

@{
    ViewBag.Title = "Details";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}

<div class="panel panel-primary">
    <div class="panel-heading">Company Details</div>
    <div class="panel-body">
        <div class="form-horizontal">
            <div class="form-group">
                @Html.LabelFor(model => model.Account.Email, new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.Label("email", @Model.Account.Email, new { @class = "control-label", style = "font-weight: normal;" })
                </div>
            </div>
            <div class="form-group">
                @Html.LabelFor(model => model.BrandName, new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.Label("brandName", @Model.BrandName, new { @class = "control-label", style = "font-weight: normal;" })
                </div>
            </div>
            <div class="form-group">
                @Html.LabelFor(model => model.Address, new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.Label("address", @Model.Address, new { @class = "control-label", style = "font-weight: normal;" })
                </div>
            </div>
            <div class="form-group">
                @Html.LabelFor(model => model.Telephone, new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.Label("telephone", @Model.Telephone, new { @class = "control-label", style = "font-weight: normal;" })
                </div>
            </div>
            <div class="form-group">
                @Html.LabelFor(model => model.Description, new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.Label("description", @Model.Description, new { @class = "control-label", style = "font-weight: normal;" })
                </div>
            </div>
            <div class="form-group">
                @Html.LabelFor(model => model.Status, new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @switch ((int)@Model.Status)
                    {
                        case 0:
                            @Html.Label("status", "Pending", new { @class = "control-label", style = "font-weight: normal;" })
                            break;
                        case 1:
                            @Html.Label("status", "Activated", new { @class = "control-label", style = "font-weight: normal;" })
                            break;
                    }
                </div>
            </div>
        </div>
    </div>
    <div class="panel-footer">
        @Html.ActionLink("Back to List", "Index", null, new { @class = "btn btn-primary btn-sm" })
    </div>
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
